package com.ewili.x.special.dao.inter;

import com.ewili.x.special.entity.ValueStock;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Date;

/**
 * @author wonder
 */
public interface ValueStockDao extends JpaRepository<ValueStock, Long> {

    ValueStock findByCodeAndDate(String code, Date date);

    ValueStock findByCode(String code);
}
